<template>
	<view class="paySuccess">
		<image class="img" src="../../static/images/success.png" mode=""></image>
		<text class="txt1">支付成功</text>
<!-- 		<text class="txt2">请前往线下门店提货</text> -->
		<view class="txt3" @click="goHome">返回首页</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods: {
			goHome(){
        uni.switchTab({
          url: "/pages/home/index"
        })
      }
		}
	}
</script>

<style lang="scss" scoped>
	.paySuccess{
		background: #fff;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
		.img{
		   width: 120rpx;
		   height: 120rpx;
		   margin-top: 60rpx;
		}
		.txt1{
			font-family: PingFang SC, PingFang SC;
			font-weight: 400;
			font-size: 32rpx;
			color: #333333;
			margin-top: 20rpx;
		}
		.txt2{
			font-family: PingFang SC, PingFang SC;
			font-weight: 400;
			font-size: 28rpx;
			color: #999999;
			margin-top: 20rpx;
		}
		.txt3{
			width: 630rpx;
			height: 88rpx;
			background: #EEA800;
			border-radius: 200rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: 400;
			font-size: 32rpx;
			color: #FFFFFF;
			text-align: center;
			line-height: 88rpx;
			margin-top: 100rpx;
		}
	}
</style>